import request from '../utils/request';
const url = 'http://localhost:8080/licence';
export interface licenceItemData
{
    licenceId : number;
    licenceType : string;
    licenceMoney : number;
    licenceText : string;
}
export const fetchData = () => {
    return request({
        url: './mock/licence.json',
        method: 'get'
    });
};

export const getAllLicence = () => {
    return request({
        url: url+'/findAllLicence',
        method: 'get',
    });
};

export const findHotLicence = () =>{
    return request({
        url: url+'/findHotLicence',
        method: 'get',
    });
}
